/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package accountws;

import branchws.IMain;
import java.util.List;

/**
 *
 * @author Atuan
 */
public interface IAccountDB extends IMain {
    public Boolean addUser(String uname,String pass,String role);
    public Boolean addUser(String uname,String pass);
    public Boolean removeUser(String uname);
    public List<User> getAllUsers();
    public LoginReply login(String uname, String pass);
    public Boolean logout(String uname);
}
